#ifndef _WXSGLCANVAS_H
#define _WXSGLCANVAS_H

#include "../wxswidget.h"


class wxsGLCanvas: public wxsWidget {
  public:

    wxsGLCanvas( wxsItemResData* Data );

  private:

    virtual void OnBuildCreatingCode();
    virtual wxObject* OnBuildPreview( wxWindow* Parent, long Flags );
    virtual void OnEnumWidgetProperties( long Flags );

    bool        mRGBA;
    int         mBufferSize;
    int         mLevel;
    bool        mDoubleBuffer;
    bool        mStereo;
    int         mAuxBuffers;
    int         mMinRed;
    int         mMinGreen;
    int         mMinBlue;
    int         mMinAlpha;
    int         mDepthSize;
    int         mStencilSize;
    int         mMinAccumRed;
    int         mMinAccumGreen;
    int         mMinAccumBlue;
    int         mMinAccumAlpha;

};

#endif  //  _WXSGLCANVAS_H
